package factorymodel.abstractfactorymodel.pojo.factory.factoryImpl;

import factorymodel.abstractfactorymodel.pojo.car;
import factorymodel.abstractfactorymodel.pojo.entity.carentity.xiaoMicar;
import factorymodel.abstractfactorymodel.pojo.entity.carpartsentity.engine;
import factorymodel.abstractfactorymodel.pojo.entity.carpartsentity.gearbox;
import factorymodel.abstractfactorymodel.pojo.entity.carpartsentity.tyre;
import factorymodel.abstractfactorymodel.pojo.entity.carpartsentity.xiaomiparts.xiaoMIEngine;
import factorymodel.abstractfactorymodel.pojo.entity.carpartsentity.xiaomiparts.xiaoMiGearbox;
import factorymodel.abstractfactorymodel.pojo.entity.carpartsentity.xiaomiparts.xiaoMityre;
import factorymodel.abstractfactorymodel.pojo.factory.carFactory;

public class xiaoMiCarFactory implements carFactory {

    @Override
    public engine createEngine() {
        return new xiaoMIEngine();
    }

    @Override
    public tyre createTyre() {
        return new xiaoMityre();
    }

    @Override
    public gearbox createGearbox() {
        return new xiaoMiGearbox();
    }
}
